<?php
    e($form->create('User',array('url' => '/app/users/signup')));
    if($form->isFieldError('User.username'))
        e($form->error('User.username',null,array('class'=>'errormsg')));
    e($form->input('User.username',array('label' => '帐号','error'=>false)));
    if($form->isFieldError('User.password'))
        e($form->error('User.password',null,array('class'=>'errormsg')));
    if($form->isFieldError('User.password2'))
        e($form->error('User.password2',null,array('class'=>'errormsg')));
    e($form->password('User.password',array('value' => '' )) );
    e('密码<br>');
    e($form->password('User.password2',array('value' => '')));
    e('重复密码');
    e($form->end('提交'));
    
    
    
?>